
import request from '@/common/request.js'

// 查询船舶油量列表
export function listOil(query) {
  return request({
    url: '/business/boat/oil/list',
    method: 'post',
    data: query
  })
}
// 维修项目列表
 export function getFixListAll(query) {
   return request({
     url: '/business/fix/project/listAll',
     method: 'post',
     data: query
   })
 }
 
 // 保养项目列表
  export function getProjectListAll(query) {
    return request({
      url: '/business/maintenance/project/treeList',
      method: 'post',
      data: query
    })
  }

export function getDeptList(query) {
  return request({
    url: '/system/dept/treeselect',
    method: 'get',
    data: query
  })
}


//  查人员
export function getUserList(params) {

  return request({
    url: '/system/user/list2',
    method: 'get',
    params
  })
}